Repository navigation
feat(ui): add a Cancel button during ingestion - #64
Merged
francescobianco merged 1 commit intoDec 4, 2026
Merged
Conversation
3 tasks done
Member
|
Thanks @jonxsong! Small, focused and exactly what #7 asked for: Cancel sits beside the progress bar, it reuses the core's existing cancellation, and the disabled "Stopping…" state makes it obvious that the current source is still finishing. The before/after screenshots helped a lot, and so did checking both merge orders with #63. I'll merge this right after #63 once fork CI is approved and green. See my note on #63 about the contributors registry too. 🙌 |
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Closes #7.
The Sources pane now shows Cancel beside the progress bar while ingestion is running. Clicking it lets the active source finish and leaves the rest of the queue available for the next run. The button is disabled while ingestion is stopping and hidden when the run ends.
The GTK handler calls the core's existing cancellation method. Queue controls refresh after the worker exits, so a queued source can be started again immediately.
Testing
911ee0efailed the GTK smoke test because the Sources pane had no Cancel button. The updated smoke passed on Ubuntu 24.04 and insideorg.gnome.Platform//51. It verifies the stopping status, completion of the active source, preservation of the rest of the queue, and resumption without replay.make start-flatpakdisplayed the synthetic fixture project.make test,make check, andpython -m pytest -qpassed on Linux. Pytest reported 65 passed.Screenshots
Before
After
AI assistance
Powered by OpenAI Codex: implementation and testing.
Checklist
make testpasses